home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AmigActive 2
/
AACD 2.iso
/
AACD
/
WebSites
/
Sites
/
Wirenet
/
files
/
thor26_api.lha
/
WatchTHOR
/
WatchTHOR.readme
< prev
Wrap
Text File
|
1997-08-25
|
2KB
|
59 lines
----------------------------------------------------------------------
WatchTHOR
Copyright © 1995-1997 Ultima Thule Software, All Rights Reserved.
Author: Petter Nilsen
----------------------------------------------------------------------
WatchTHOR is a small notification program to be used with THOR 2.0 or
higher to notify you or start a specific program when new messages
arrive in a conference. It is pure and can be made resident. It can
only be run from shell. WatchTHOR has no code to handle startup from
Workbench, so do NOT start it from Workbench! It was never meant to
be a do-it-all program for notification, someone else can make that.
However, since several users has requested such a possibility and I
had 2 hours of free time, I decided to make something. You may use the
code freely for whatever you like as long as it is THOR related.
<insert standard disclaimer here>
WatchTHOR accepts the following arguments:
SYSTEMNAME
~~~~~~~~~~
The name of the system to watch.
CHECKDELAY
~~~~~~~~~~
The number of minutes between each check.
Default: 5
CONFERENCE
~~~~~~~~~~
The name of the conference to check.
Default: EMail
RUNCOMMAND
~~~~~~~~~~
The command to run when new messages has arrived in a conference.
No requester will open.
Example:
1> watchthor "news&mail" checkdelay 5
This command line will check for new messages in EMail every 5
minutes, and bring up a requester on the frontmost screen with how
many new messages that arrived.
1> watchthor "news&mail" checkdelay 5 runcommand "dsound NewMail"
Will do as the example above, except that it will run the program
dsound with "NewMail.iff" as argument.
- Petter Nilsen (pettern@thule.no), August 25th 1997